package NGUYENTHECUONG_DEMO;

public class Bai2Models {

    public double Calcutors(double a, double b, short opt){
			double result =0;
			switch (opt) {
			 case 0: result = a + b; break;
	            case 1: result = a - b; break;
	            case 2: result = a * b; break;
	            case 3: result = a / b; break;  
			}
			return result;
			}
}


